@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@300;400;500;600;700;800&display=swap');

:root {
    --primary-color: #1e40af;
    --primary-light: #dbeafe;
    --primary-dark: #1e3a8a;
    --secondary-color: #8b5cf6;
    --secondary-light: #ede9fe;
    --accent-color: #0ea5e9;
    --accent-light: #e0f2fe;
    --success-color: #10b981;
    --warning-color: #f59e0b;
    --danger-color: #ef4444;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Cairo', sans-serif;
    color: #1a202c;
    line-height: 1.7;
    direction: rtl;
}

.font-geist-mono {
    font-family: 'Courier New', monospace;
}

section {
    scroll-margin-top: 100px;
}

.bg-gradient-primary {
    background-image: linear-gradient(120deg, #dbeafe 0%, #e0f2fe 100%);
}

.bg-gradient-secondary {
    background-image: linear-gradient(120deg, #ede9fe 0%, #f5f3ff 100%);
}

.card-hover {
    transition: all 0.3s ease;
}

.card-hover:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.highlight {
    background: linear-gradient(120deg, rgba(219, 234, 254, 0.5) 0%, rgba(224, 242, 254, 0.5) 100%);
    padding: 2px 5px;
    border-radius: 4px;
}

.stat-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    border-radius: 0.5rem;
    background-color: white;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
}

.stat-value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
}

.stat-label {
    font-size: 0.875rem;
    color: #4b5563;
    text-align: center;
}

/* Animation for charts and graphics */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fadeInUp {
    animation: fadeInUp 0.6s ease-out forwards;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .stat-card {
        padding: 1rem;
    }
    
    .stat-value {
        font-size: 1.5rem;
    }
    
    .stat-label {
        font-size: 0.75rem;
    }
}
